<?php

declare(strict_types=1);

namespace App\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

#[Constants]
class OrderStatus extends AbstractConstants
{
    /**
     * @Message("待支付")
     */
    const WAIT_PAY = 0;

    /**
     * @Message("进行中")
     */
    const ING = 1;

    /**
     * @Message("已完成")
     */
    const COMPLETED = 2;

    /**
     * @Message("已取消")
     */
    const CANCELLED = 3;

    /**
     * @Message("已失效")
     */
    const INVALID = 4;
}
